<?php

use yii\helpers\Html;

/**
* @var yii\web\View $this
* @var yiike\goods\model\Goods $model
*/

$this->title = Yii::t('models', '编辑商品');
$this->params['breadcrumbs'][] = ['label' => Yii::t('models', '商品列表'), 'url' => ['store-goods','store_id'=>$store->id]];
$this->params['breadcrumbs'][] = '编辑商品';
?>
<div class="box box-info giiant-crud goods-update">
    <div class="box-header with-border">
        <div class="box-title">
            <?= Html::encode($model->title) ?>
        </div>
    </div>
    <div class="box-body">
        <div class="crud-navigation">
            <!--<?= Html::a('<span class="glyphicon glyphicon-file"></span> ' . 'View', ['view', 'id' => $model->id], ['class' => 'btn btn-default']) ?>-->
        </div>

        <hr />

        <?php echo $this->render('_form', [
        'model' => $model,
            'category'=>$category,
            'provincesHtml'=>$provincesHtml,
            'is_spec'=>$is_spec,
            'SpecData'=>$SpecData,
            'property'=>$property,
            'tags'=>$tags,
           'store'=>$store,
        ]); ?>
    </div>
</div>
